package com.atguigu.gulimall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Ʒ
 *
 * @author zhengwu
 * @email jiachao@163.com
 * @date 2020-10-08 21:49:59
 */
@Data
@TableName("pms_category_brand_relation")
public class CategoryBrandRelationEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    private Long id;
    /**
     * Ʒ
     */
    @NotNull(message = "并排id不能为空！")
    private Long brandId;
    /**
     *
     */
    @NotNull(message = "分类id不能为空！")
    private Long catelogId;
    /**
     *
     */
    private String brandName;
    /**
     *
     */
    private String catelogName;

}
